package cn.edu.scau.cmi.zenghanxiong.abstractFactory.factory;

import cn.edu.scau.cmi.zenghanxiong.abstractFactory.domainAbstractClass.*;

public abstract class AbstractFactory {
	public static AbstractFactory getFactory(String name) {
		switch (name) {
		case "Wens":
			return new WensFactory();
		case "Tianbang":
			return new TianbangFactory();
		case "Aonong":
			return new AonongFactory();
		}
		return null;
	}
	public abstract Meat getChicken();
	public abstract Meat getPork();
	public abstract Meat getBeef();
}
